/*
 * MIDPFontProvider.java
 *
 * Created on 2008/08/25 +0900
 *
 * $Revision: 43 $
 * $Date: 2008-10-26 14:15:53 +0000 (Sun, 26 Oct 2008) $
 */

package org.gikolet.framework.platform.midp.internal;

import org.gikolet.framework.ui.AbstractFontProvider;
import org.gikolet.framework.ui.Font;

/**
 * @author Tetsutaro (latest modification by $Author: tetsutaro.ss $)
 * @version $Revision: 43 $ $Date: 2008-10-26 14:15:53 +0000 (Sun, 26 Oct 2008) $
 */
public class MIDPFontProvider extends AbstractFontProvider {
    public void setDefaultNativeFont(javax.microedition.lcdui.Font font) {
	setDefaultNativeFont(new MIDPFont(this, font));
    }

    public MIDPFont getDefaultMIDPFont() {
	return (MIDPFont) getDefaultFont();
    }

    public Font createFont(int face, int style, int size) {
	return new MIDPFont(this, face, style, size);
    }
}
